vertex_float1

Add a floating point value to a vertex.

语法:

vertex_float1(buffer, float);


参数 描述
buffer The buffer to write the information to.
float 输入值。


返回: N/A(无返回值)


描述

This function will add a floating point value to the vertex data. The vertex must have been formatted correctly to accept this using the vertex_format_add_custom function.


例如:

vertex_float1(buff, 0.05);

The above code will add a floating point value to the vertex data being defined.


上一页: Building Primitives
下一页: vertex_float2
© Copyright YoYo Games Ltd. 2018 All Rights Reserved